<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<!--[if IE 6]><div id="ie6" class="ie"><![endif]-->
<!--[if IE 7]><div id="ie7" class="ie"><![endif]-->
<%-- <tiles:insertAttribute name="header" />
	<div class="main fix">
		<tiles:insertAttribute name="content" />
	</div>
	<tiles:insertAttribute name="footer" /> --%>
<!--[if lte IE 7]></div><![endif]-->
<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/sign.js"></script>
<form:form id='signForm' name="signForm" action="${ctx}/sign/redirect/submit.do"
	method="post" target="_blank">
	<input type="hidden" id="verficationCode" name="verficationCode"
		value="${sessionScope.gopay_webtest_key}" size="50" />
	<table width="100%">
		<tr>
			<td width="30%" align=right>交易代码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranCode" name="tranCode" value="${signInfo.tranCode }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>订单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merOrderNum" name="merOrderNum" value="${sign.merOrderNum }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merOrderNumTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户编号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merchantID" name="merchantID" value="${signInfo.merchantID}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merchantIDTip"></span>
			</td>
		</tr>
				
		<tr>
			<td width="30%" align=right>交易时间(申请时间):</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranDateTime" name="tranDateTime"
				value="${signInfo.tranDateTime}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户服务器后台通知地址:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merURL" name="merURL"
				value="<c:choose><c:when test="${sessionScope.gopay_webtest_URL_Name=='自定义'}"></c:when><c:otherwise>${sessionScope.gopay_webtest_URL.dom}/WebTest2/result/webclient/background.do</c:otherwise></c:choose>" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>用户浏览器IP:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranIP" name="tranIP" value="${signInfo.tranIP}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranIPTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>国付宝服务器时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="gopayServerTime" name="gopayServerTime"
				value="${signInfo.tranDateTime}" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>版本号:</td>
			<td align=left width="45%">&nbsp;&nbsp;
			<select id="version"name="version" style="width: 60%" >	
				<option value=""
						<c:if test="${signInfo.version=='' }"><c:out value=""></c:out></c:if>>请选择</option>
					<option value="2.1" selected="selected">2.1</option>
					<option value="2.0">2.0</option>
			</select>
			<!-- <input type="text" name="version" id="version" value="2.1" readonly="readonly"></input> -->
			
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="versionTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>报文加密方式:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="signType" name="signType" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
			
		</tr>
       <tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:MD5,2:SHA
				<td width="25%" align=left></td>
		</tr>
		
		
		
		<tr>
			<td width="30%" align=right>字符集:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="charset" name="charset" value="2" size="50"  />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:GBK,2:UTF-8 (不填则当成1处理)
				<td width="25%" align=left></td>
		</tr>
		
		<!-- 前台通知
		<tr>
			<td width="30%" align=right>商户返回页面地址:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="frontMerUrl" name="frontMerUrl" value="<c:choose><c:when test="${sessionScope.gopay_webtest_URL_Name=='自定义'}"></c:when><c:otherwise>${sessionScope.gopay_webtest_URL.dom}/WebTest2/result/webclient/front/recv.do</c:otherwise></c:choose>"
				size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr> -->
		<tr>
			<td width="30%" align=right>会员账户:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="appointVirCardNo" name="appointVirCardNo" value="0000000002000000033" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="appointVirCardNoTip"></span>
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>资金存管账户:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merAcct" name="merAcct" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merAcctTip"></span>
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>会员名称:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="appointUsername" name="appointUsername" value="大宗会员账户" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="appointUsernameTip"></span>
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		
		<tr>
			<td width="30%" align=right>签约描述:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="remark" name="remark" value="签约备注"  />
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>备用信息字段:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="remark1" name="remark1" value="备用信息字段1"  />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>备用信息字段2:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="remark2" name="remark2" value="备用信息字段2"  />
			</td>
			<td width="25%" align=left></td>
		</tr>
		

		
		<tr>
			<td colspan=2 width="100%"><center>
					<input type="button" value="设置订单" id="defButton" name="defButton">&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>

	</table>
</form:form>
<div>
	<!--  <img src="${ctx}/image/zhifu.jpg" alt="" height="200px"></img>-->
</div>
